package com.dc.system.model;

import java.io.Serializable;

public class SysRoleOrgan implements Serializable {
	/**
	 *
	 */
	private int role_organ_id;

	/**
	 * 角色id
	 *
	 */
	private int fk_role_id;

	/**
	 * 单位id
	 *
	 */
	private int fk_organ_id;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	/**
	 */
	private static final long serialVersionUID = 1L;

	public int getRole_organ_id() {
		return role_organ_id;
	}

	public void setRole_organ_id(int role_organ_id) {
		this.role_organ_id = role_organ_id;
	}

	public int getFk_role_id() {
		return fk_role_id;
	}

	public void setFk_role_id(int fk_role_id) {
		this.fk_role_id = fk_role_id;
	}

	public int getFk_organ_id() {
		return fk_organ_id;
	}

	public void setFk_organ_id(int fk_organ_id) {
		this.fk_organ_id = fk_organ_id;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", role_organ_id=").append(role_organ_id);
		sb.append(", fk_role_id=").append(fk_role_id);
		sb.append(", fk_organ_id=").append(fk_organ_id);
		sb.append("]");
		return sb.toString();
	}

}